//
//  TipPanel.hpp
//  petgame
//
//  Created by zz on 2018/12/15.
//

#ifndef TipPanel_hpp
#define TipPanel_hpp

#include <stdio.h>
#include "cocos2d.h"
#include <string>
using namespace std;
using namespace cocos2d;

//通知信息提示类，用于提示角色状态信息，如饥饿，等等
class TipPanel:public Sprite{
    
public:
    static TipPanel*create(int type,int value,Vec2 pos);
    bool init(int type,int value,Vec2 pos);
    void callfunc();
    
private:
    LabelTTF*label;
    
    
};
#endif /* TipPanel_hpp */
